<?php
/**
 * Backend top navigation bar
 */
class Navigation extends CWidget {
    public function run() {
        $items = array(
            'default/index' => Yii::t('navigation', 'default'),
            'setting/index' => Yii::t('navigation', 'setting'),
            'recycleBin/index' => Yii::t('navigation', 'recycleBin'),
            'nodes/index' => Yii::t('navigation', 'nodes'),
//            'mediaCategories/index' => Yii::t('navigation', 'mediaCategories'),
//            'media/index' => Yii::t('navigation', 'media'),
            'dashboard/index' => Yii::t('navigation', 'dashboard'),
        );
        $this->render('Navigation', array(
            'items' => $items
        ));
    }
}